//
//  ColourView.m
//  UI05-彩虹灯
//
//  Created by dllo on 16/6/12.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "ColourView.h"

@implementation ColourView

+ (instancetype)colourViewWithFrame:(CGRect)frame color:(UIColor *)color{
    ColourView *view = [[ColourView alloc]initWithFrame:frame];
    view.backgroundColor = color;
    return [view autorelease];
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
